gtk4.git
11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Thu, 21 Aug 2014 10:50:35 +0000 (18:50 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoAdwaita: some separators simplification
Lapo Calamandrei [Thu, 21 Aug 2014 10:24:01 +0000 (12:24 +0200)]
Adwaita: some separators simplification

Accidentally fixing the backdrop separators in sidebars turning
black

11 years agoAdwaita: inline toolbar buttons fixes
Lapo Calamandrei [Thu, 21 Aug 2014 09:52:20 +0000 (11:52 +0200)]
Adwaita: inline toolbar buttons fixes

Properly styled single buttons in inline toolbars and fixed
a superflous border chiming in in backdrop.

11 years agoDeprecate GTK_CHECK_BACKEND in favour of PKG_CHECK_MODULES
Simon McVittie [Wed, 6 Aug 2014 10:23:53 +0000 (11:23 +0100)]
Deprecate GTK_CHECK_BACKEND in favour of PKG_CHECK_MODULES

This is easy to do with pkg-config too.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638
Bug-Debian: https://bugs.debian.org/756476
Reviewed-by: Matthias Clasen
11 years agoDeprecate AM_PATH_GTK_3_0 in favour of PKG_CHECK_MODULES
Simon McVittie [Wed, 6 Aug 2014 10:23:23 +0000 (11:23 +0100)]
Deprecate AM_PATH_GTK_3_0 in favour of PKG_CHECK_MODULES

That's what GNOME applications use.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638
Bug-Debian: https://bugs.debian.org/756476
Reviewed-by: Matthias Clasen
11 years agoUse AC_USE_SYSTEM_EXTENSIONS to get _GNU_SOURCE, _XOPEN_SOURCE etc.
Simon McVittie [Sun, 17 Aug 2014 14:00:54 +0000 (15:00 +0100)]
Use AC_USE_SYSTEM_EXTENSIONS to get _GNU_SOURCE, _XOPEN_SOURCE etc.

Similar to Bug #684123 in GLib.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638
Bug-Debian: https://bugs.debian.org/756476
Reviewed-by: Matthias Clasen
11 years agocss: Round shadow extents properly
Benjamin Otte [Wed, 20 Aug 2014 21:19:59 +0000 (23:19 +0200)]
css: Round shadow extents properly

Otherwise drawing will be clipped.

Testcase included

11 years agoroundedbox: Only grow border-radius if there is one
Benjamin Otte [Wed, 20 Aug 2014 22:10:43 +0000 (00:10 +0200)]
roundedbox: Only grow border-radius if there is one

This is relevant for shadow spread and goes in line with the web.

Testcase included.

11 years agolabel: Respect box-shadow when computing clip
Benjamin Otte [Wed, 20 Aug 2014 22:02:29 +0000 (00:02 +0200)]
label: Respect box-shadow when computing clip

Testclase included.

Also reorder headers to be alphabetic.

11 years agowidget: Make _gtk_set_simple_clip() take an optional content clip
Benjamin Otte [Wed, 20 Aug 2014 21:49:00 +0000 (23:49 +0200)]
widget: Make _gtk_set_simple_clip() take an optional content clip

11 years agostylecontext: Remove GTK_CSS_CHANGE_FORCE_INVALIDATE
Benjamin Otte [Wed, 20 Aug 2014 02:39:54 +0000 (04:39 +0200)]
stylecontext: Remove GTK_CSS_CHANGE_FORCE_INVALIDATE

This was introduced as a hackish way in 3.6 to make font updates
propagate properly. But since then, font handling has been changed and
this flag is no longer necessary.

11 years agostylecontext: Use right invalidation func
Benjamin Otte [Tue, 19 Aug 2014 14:31:06 +0000 (16:31 +0200)]
stylecontext: Use right invalidation func

gtk_style_context_invalidate_internal() will respect only the current
saved state of the style context, which is wrong when updating the scale.
In that case, the whole style context needs updating.

11 years agoGtkTextView: various code clean-ups
Sébastien Wilmet [Fri, 15 Aug 2014 18:54:01 +0000 (20:54 +0200)]
GtkTextView: various code clean-ups

- only one blank line is enough to separate code sections.
- the 'signals' variable was in the middle of function prototypes.
- compare pointers to NULL in some conditions ("if(blah) should be used
  only if blah is a boolean variable). It makes the code clearer.
- various other things.

11 years agotests textbuffer: don't use GdkColor (deprecated)
Sébastien Wilmet [Wed, 20 Aug 2014 15:13:46 +0000 (17:13 +0200)]
tests textbuffer: don't use GdkColor (deprecated)

11 years agoMark the GdkColor struct as deprecated
Sébastien Wilmet [Wed, 20 Aug 2014 15:16:52 +0000 (17:16 +0200)]
Mark the GdkColor struct as deprecated

11 years agogtk: Fix transfer annotations gtk_binding_set_new and *_by_class
Rico Tzschichholz [Wed, 20 Aug 2014 14:18:45 +0000 (16:18 +0200)]
gtk: Fix transfer annotations gtk_binding_set_new and *_by_class

Those instances are exclusively handled internally and can not be freed.

11 years agoAdwaita: selection mode checks
Jakub Steiner [Wed, 20 Aug 2014 07:29:17 +0000 (09:29 +0200)]
Adwaita: selection mode checks

- add missing hover asset
- have enough contrast for the outline
- :active state isn't supported in libgd/apps yet

11 years agoAdwaita: keep selectmode checks square
Jakub Steiner [Wed, 20 Aug 2014 07:08:57 +0000 (09:08 +0200)]
Adwaita: keep selectmode checks square

- keep the existing 40x40px nominal size

11 years agogtk: Fix out-param annotation of gtk_theming_engine_get_style_property
Rico Tzschichholz [Wed, 20 Aug 2014 06:55:53 +0000 (08:55 +0200)]
gtk: Fix out-param annotation of gtk_theming_engine_get_style_property

11 years agogtk: Fix return annotation of gtk_selection_data_get_text
Rico Tzschichholz [Wed, 20 Aug 2014 06:54:12 +0000 (08:54 +0200)]
gtk: Fix return annotation of gtk_selection_data_get_text

11 years agoAdwaita: allow window drag on menubars and toolbars
Jakub Steiner [Tue, 19 Aug 2014 17:06:42 +0000 (19:06 +0200)]
Adwaita: allow window drag on menubars and toolbars

- reported as regression

11 years agoAdwaita: selection mode checkboxes
Jakub Steiner [Tue, 19 Aug 2014 16:45:15 +0000 (18:45 +0200)]
Adwaita: selection mode checkboxes

11 years agoGtkApplication: fix annotation of get_menu_by_id
Paolo Borelli [Tue, 19 Aug 2014 16:12:51 +0000 (18:12 +0200)]
GtkApplication: fix annotation of get_menu_by_id

https://bugzilla.gnome.org/show_bug.cgi?id=735034

11 years agoUpdated Assamese translation
ngoswami [Tue, 19 Aug 2014 16:25:39 +0000 (16:25 +0000)]
Updated Assamese translation

11 years agoAdwaita: don't increase toolbar padding.
Jakub Steiner [Tue, 19 Aug 2014 10:51:49 +0000 (12:51 +0200)]
Adwaita: don't increase toolbar padding.

https://bugzilla.gnome.org/show_bug.cgi?id=735012

11 years agoUpdated Assamese translation
ngoswami [Tue, 19 Aug 2014 15:07:02 +0000 (15:07 +0000)]
Updated Assamese translation

11 years agogtk: Fix broken docs of GtkTranslateFunc
Rico Tzschichholz [Mon, 18 Aug 2014 12:38:04 +0000 (14:38 +0200)]
gtk: Fix broken docs of GtkTranslateFunc

11 years agoAdwaita: have an unchecked state for radio/checks in menus
Jakub Steiner [Mon, 18 Aug 2014 12:18:53 +0000 (14:18 +0200)]
Adwaita: have an unchecked state for radio/checks in menus

more background in https://bugzilla.gnome.org/show_bug.cgi?id=734290

11 years agoRevert "docs: Fix broken gtk-doc formatting"
Matthias Clasen [Mon, 18 Aug 2014 12:17:49 +0000 (08:17 -0400)]
Revert "docs: Fix broken gtk-doc formatting"

This reverts commit a7562dd38fe86cfa26674f22d46fdfe24865ee13.

I prefer to not confuse gtk-doc with doc comments for private
functions.

11 years agodocs: Fix broken gtk-doc formatting
Rico Tzschichholz [Mon, 18 Aug 2014 11:27:05 +0000 (13:27 +0200)]
docs: Fix broken gtk-doc formatting

Fixes broken introspection of GtkTranslateFunc

11 years agoAdwaita: update the last cases for :checked
Jakub Steiner [Mon, 18 Aug 2014 08:52:52 +0000 (10:52 +0200)]
Adwaita: update the last cases for :checked

- treeviews can now have the same default checkboxes and radios
- only menus are special (but needed :active -> :checked)

https://bugzilla.gnome.org/show_bug.cgi?id=733967
https://bugzilla.gnome.org/show_bug.cgi?id=734290

11 years agoFinnish translation update
Lasse Liehu [Sun, 17 Aug 2014 11:40:56 +0000 (14:40 +0300)]
Finnish translation update

11 years agoFinnish translation update
Lasse Liehu [Sun, 17 Aug 2014 11:35:08 +0000 (14:35 +0300)]
Finnish translation update

11 years agobutton: Remove unnecessary queue_redraw() calls
Benjamin Otte [Sun, 17 Aug 2014 04:47:17 +0000 (06:47 +0200)]
button: Remove unnecessary queue_redraw() calls

Setting a state automatically triggers redraws via the CSS machinery.

11 years agocheckbutton: Fix redraw issues
Benjamin Otte [Sun, 17 Aug 2014 04:24:41 +0000 (06:24 +0200)]
checkbutton: Fix redraw issues

This is a hack to get around the optimizations done by the CSS engine.

The CSS engine will notice that no CSS properties changed on the
widget itself when going from one state to another and not queue
a redraw.
And the reason for no properties changing will be that only the
checkmark itself changes, but that is hidden behind a
gtk_style_context_save()/_restore() pair, so it won't be caught.

11 years ago3.13.7
Matthias Clasen [Sat, 16 Aug 2014 17:48:50 +0000 (13:48 -0400)]
3.13.7

11 years agoFix distcheck
Matthias Clasen [Sun, 17 Aug 2014 01:20:09 +0000 (21:20 -0400)]
Fix distcheck

11 years agoSilence compiler warnings
Matthias Clasen [Sat, 16 Aug 2014 22:13:31 +0000 (18:13 -0400)]
Silence compiler warnings

11 years agoMove GtkThemingEngine to the deprecated docs section
Matthias Clasen [Sat, 16 Aug 2014 20:52:28 +0000 (16:52 -0400)]
Move GtkThemingEngine to the deprecated docs section

11 years agoGtkWidget: fix up docs minimally
Matthias Clasen [Sat, 16 Aug 2014 20:50:07 +0000 (16:50 -0400)]
GtkWidget: fix up docs minimally

11 years agoGtkListBox: fix up docs
Matthias Clasen [Sat, 16 Aug 2014 20:39:51 +0000 (16:39 -0400)]
GtkListBox: fix up docs

11 years agoClean up and unify docs and formatting
Matthias Clasen [Sat, 16 Aug 2014 20:39:21 +0000 (16:39 -0400)]
Clean up and unify docs and formatting

11 years agocheckbutton: Don't redundantly update states
Benjamin Otte [Sun, 17 Aug 2014 01:19:59 +0000 (03:19 +0200)]
checkbutton: Don't redundantly update states

States are set properly by GtkButton, there is no need to set them
manually.

11 years agocheckbutton: Draw background unconditionally
Benjamin Otte [Sat, 16 Aug 2014 22:58:04 +0000 (00:58 +0200)]
checkbutton: Draw background unconditionally

We want to draw backgrounds always, not just on prelight. Themes can
decide to only set a background during prelight themselves.

11 years agoreftests: Update for :active => :checked change
Benjamin Otte [Sat, 16 Aug 2014 18:41:09 +0000 (20:41 +0200)]
reftests: Update for :active => :checked change

11 years agoUpdated Hebrew translation
Yosef Or Boczko [Sat, 16 Aug 2014 18:28:01 +0000 (21:28 +0300)]
Updated Hebrew translation

11 years agostylecontext: Update docs to reflect theming engines being gone
Benjamin Otte [Mon, 16 Jun 2014 14:37:01 +0000 (16:37 +0200)]
stylecontext: Update docs to reflect theming engines being gone

11 years agothemingengine: Deprecate
Benjamin Otte [Sun, 15 Jun 2014 14:05:16 +0000 (16:05 +0200)]
themingengine: Deprecate

11 years agothemingengine: Remove now unused private API
Benjamin Otte [Mon, 16 Jun 2014 02:53:14 +0000 (04:53 +0200)]
themingengine: Remove now unused private API

11 years agothemingengine: Transition code towards StyleContext
Benjamin Otte [Sat, 16 Aug 2014 17:22:15 +0000 (19:22 +0200)]
themingengine: Transition code towards StyleContext

We want to get rid of theming engines, so stop using them as much as
possible.

11 years agoborderimage: Use style context as argument
Benjamin Otte [Sat, 16 Aug 2014 17:00:03 +0000 (19:00 +0200)]
borderimage: Use style context as argument

... not the theming engine.

11 years agoroundedbox: Remove functions that take a GtkThemingEngine
Benjamin Otte [Mon, 16 Jun 2014 02:28:06 +0000 (04:28 +0200)]
roundedbox: Remove functions that take a GtkThemingEngine

Instead, make the functions use a GtkStyleContext argument.

11 years agothemingbackground: Remove initializer that takes a GtkThemingEngine
Benjamin Otte [Mon, 16 Jun 2014 02:22:50 +0000 (04:22 +0200)]
themingbackground: Remove initializer that takes a GtkThemingEngine

With the unification to use style contexts everywhere, make that
initializer the only one to use.

Also rename it appropriately.

11 years agostylecontext: Move private a11y function to private header
Benjamin Otte [Sun, 15 Jun 2014 16:03:59 +0000 (18:03 +0200)]
stylecontext: Move private a11y function to private header

11 years agoMore updates
Matthias Clasen [Sat, 16 Aug 2014 17:38:47 +0000 (13:38 -0400)]
More updates

11 years agoUpdate expected output for the font picker a11y test
Matthias Clasen [Sat, 16 Aug 2014 17:02:47 +0000 (13:02 -0400)]
Update expected output for the font picker a11y test

This change is a consequence of the recent font chooser changes.

11 years agoUpdate expected output in a11y tests for buttons
Matthias Clasen [Sat, 16 Aug 2014 17:01:50 +0000 (13:01 -0400)]
Update expected output in a11y tests for buttons

This is an expected change from the recent button state cleanups.

11 years agoFix make install
Matthias Clasen [Sat, 16 Aug 2014 16:13:07 +0000 (12:13 -0400)]
Fix make install

The path to gtk-update-icon-cache was set incorrectly in one case.

11 years agotogglebutton: Remove unneeded code
Benjamin Otte [Fri, 15 Aug 2014 22:45:00 +0000 (00:45 +0200)]
togglebutton: Remove unneeded code

The state is completely handled by gtkbutton.c so no need to do anything
in the togglebutton.

11 years agotogglebutton: Don't duplicate button code
Benjamin Otte [Fri, 15 Aug 2014 22:43:18 +0000 (00:43 +0200)]
togglebutton: Don't duplicate button code

It's the same code, so no need to write the same vfunc twice.

11 years agoradiobutton: :hover on hover
Benjamin Otte [Fri, 15 Aug 2014 16:30:19 +0000 (18:30 +0200)]
radiobutton: :hover on hover

No special cases, those go in the theme.

11 years agobutton: Handle :inconsistent in GtkToggleButton
Benjamin Otte [Fri, 15 Aug 2014 16:26:35 +0000 (18:26 +0200)]
button: Handle :inconsistent in GtkToggleButton

11 years agobutton: Handle :checked in gtktogglebutton.c
Benjamin Otte [Fri, 15 Aug 2014 14:58:39 +0000 (16:58 +0200)]
button: Handle :checked in gtktogglebutton.c

Don't try to handle it elsewhere.

11 years agowidget: Add checks for setting state flags
Benjamin Otte [Fri, 15 Aug 2014 14:51:42 +0000 (16:51 +0200)]
widget: Add checks for setting state flags

This is more for GTK developers to catch when they forgot to change
GTK_STATE_FLAGS_BITS after adding a new state flag than to prevent
widget developers from using the wrong flags.

11 years agothemingengine: Remove hack to draw backgrounds instead of checks
Benjamin Otte [Thu, 7 Aug 2014 13:36:09 +0000 (15:36 +0200)]
themingengine: Remove hack to draw backgrounds instead of checks

This was a hack we added in early 3.x to allow themes to customize their
checkmarks.
Now that we want to properly support real backgrounds everywhere,
supporting this feature would cause double draws of backgrounds.

11 years agostylecontext: Update docs for gtk_render_activity()
Benjamin Otte [Fri, 15 Aug 2014 01:55:53 +0000 (03:55 +0200)]
stylecontext: Update docs for gtk_render_activity()

11 years agogtk: Don't use gtk_render_activity()
Benjamin Otte [Thu, 14 Aug 2014 23:58:49 +0000 (01:58 +0200)]
gtk: Don't use gtk_render_activity()

... in places where we draw a background. This was changed for GTK 3.0.0
to allow animations, but these days it doesn't make sense anymore to use
gtk_render_activity() for backgrounds.

11 years agobutton: Remove depressed_on_activate
Benjamin Otte [Thu, 14 Aug 2014 13:44:35 +0000 (15:44 +0200)]
button: Remove depressed_on_activate

All buttons should always be marked as :active when they are pressed.
That includes checkboxes (which are never activated in real code anyway,
so this change pretty much doesn't matter).

11 years agocss: Do inconsistent checked states right
Benjamin Otte [Thu, 14 Aug 2014 03:14:36 +0000 (05:14 +0200)]
css: Do inconsistent checked states right

In HTML5, both pseudoclasses apply. So we do the same thing in our
widgets.

https://bugzilla.gnome.org/show_bug.cgi?id=733967

11 years agobutton: Remove depressed variable
Benjamin Otte [Thu, 14 Aug 2014 03:13:29 +0000 (05:13 +0200)]
button: Remove depressed variable

It is not used anymore.

11 years agobutton: Don't honor child-displacement anymore
Benjamin Otte [Thu, 14 Aug 2014 02:43:45 +0000 (04:43 +0200)]
button: Don't honor child-displacement anymore

It doesn't make sense to support child displacement in a world where
pseudoclasses behave different from the actual displacement states.
Nobody would ever understand why a widget is displaced.

It is easily possible to simulate child displacement by using padding
CSS properties.

11 years agogtk: Use new :checked state
Benjamin Otte [Thu, 14 Aug 2014 02:34:30 +0000 (04:34 +0200)]
gtk: Use new :checked state

on:
- GtkToggleButton
- GtkCheckButton
- GtkRadioButton
- GtkModelButton
- GtkCellRendererToggle
- GtkCheckMenuItem

also update themes:
- Adwaita
- Raleigh
but not the win32 theme.

The new :checked state replaces :active for the actual checkedness of
the widgets and :active is now used exclusively while the button is being
pressed.

https://bugzilla.gnome.org/show_bug.cgi?id=733967

11 years agocss: Add a :checked pseudoclass
Benjamin Otte [Thu, 14 Aug 2014 01:00:02 +0000 (03:00 +0200)]
css: Add a :checked pseudoclass

https://bugzilla.gnome.org/show_bug.cgi?id=733967

11 years agoReplace uses of g_memmove() by memmove()
Sébastien Wilmet [Fri, 15 Aug 2014 19:22:07 +0000 (21:22 +0200)]
Replace uses of g_memmove() by memmove()

g_memmove() is deprecated, it is a simple macro that just calls
memmove() with the same parameters.

Reviewed by Paolo Borelli on IRC.

11 years agoAdd an example for a hig-style toolbar
Matthias Clasen [Sat, 16 Aug 2014 03:22:00 +0000 (23:22 -0400)]
Add an example for a hig-style toolbar

11 years agoGtkFontChooser: Prevent font fallback in the preview
Matthias Clasen [Fri, 15 Aug 2014 21:29:34 +0000 (17:29 -0400)]
GtkFontChooser: Prevent font fallback in the preview

We don't want to preview the fallback fonts, after all.
https://bugzilla.gnome.org/show_bug.cgi?id=570414

11 years agoUpdated POTFILES.in
Piotr Drąg [Fri, 15 Aug 2014 19:25:38 +0000 (21:25 +0200)]
Updated POTFILES.in

11 years agoGtkFontButton: Avoid criticals
Matthias Clasen [Fri, 15 Aug 2014 19:15:45 +0000 (15:15 -0400)]
GtkFontButton: Avoid criticals

The font_family and font_face members may be NULL, and we
shouldn't cause critical warnings in that case.

11 years agoGtkFontButton: Limit the decimals shown for size
Matthias Clasen [Fri, 15 Aug 2014 19:09:45 +0000 (15:09 -0400)]
GtkFontButton: Limit the decimals shown for size

It doesn't make sense to show a font size with 6 digits. Use
the same formatting we use in the font chooser widget now.

https://bugzilla.gnome.org/show_bug.cgi?id=724996

11 years agoGtkFontChooserWidget: Allow fractional font sizes
Matthias Clasen [Fri, 15 Aug 2014 18:57:31 +0000 (14:57 -0400)]
GtkFontChooserWidget: Allow fractional font sizes

With this change, we let users enter up to 2 decimals in the entry,
to specify font sizes exactly. The slider still rounds to whole
numbers.

https://bugzilla.gnome.org/show_bug.cgi?id=665711

11 years agoGtkFontButton: Use the same font name as the font chooser
Matthias Clasen [Fri, 15 Aug 2014 18:10:55 +0000 (14:10 -0400)]
GtkFontButton: Use the same font name as the font chooser

The font chooser constructs the display name for the font from
the family and face names. Do the same in the font button, so
we don't end up calling the same font by different names, which
would be confusing.

11 years agoGtkFontChooserWidget: Use a better display name for the font
Behdad Esfahbod [Fri, 15 Aug 2014 17:27:00 +0000 (17:27 +0000)]
GtkFontChooserWidget: Use a better display name for the font

Instead of reconstructing a display name from the
PangoFontDescription, use the font family and face
objects, which have the original font. This lets us
get the names of fonts like Noto Sans CJK DemiLight
right, which would be shown as Noto Sans CJK SemiLight
when mangled via PangoFontDescription, since Pango
treats 'DemiLight' as an alias for the SemiLight weight.

https://bugzilla.gnome.org/show_bug.cgi?id=733832

11 years agoGtkGestureSingle: Update declared defaults of properties
Matthias Clasen [Fri, 15 Aug 2014 17:12:15 +0000 (13:12 -0400)]
GtkGestureSingle: Update declared defaults of properties

These should match the initial values, which were changed a
few commits ago. The defaultvalue test fails if there is a
mismatch, like here.

11 years agowin32: Set the right source device
Matthias Clasen [Fri, 15 Aug 2014 17:04:57 +0000 (13:04 -0400)]
win32: Set the right source device

https://bugzilla.gnome.org/show_bug.cgi?id=734738

11 years agoDeprecate GtkStatusIcon
Matthias Clasen [Thu, 14 Aug 2014 18:34:53 +0000 (14:34 -0400)]
Deprecate GtkStatusIcon

GtkStatusIcon is using a problematic, XEmbed-based protocol under X,
and we want to get rid of it eventually. Document our intentions by
marking GtkStatusIcon as deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=734826

11 years agoutil/extract-strings: Use autotools syntax for building
Rico Tzschichholz [Fri, 15 Aug 2014 15:56:39 +0000 (17:56 +0200)]
util/extract-strings: Use autotools syntax for building

Always refer to it as "extract-strings$(EXEEXT)" where needed to take
cross-compilation into account.

https://bugzilla.gnome.org/show_bug.cgi?id=731013

11 years agoRevert "Bug 731013 - cross-compilation broken when building extract-strings"
Rico Tzschichholz [Fri, 15 Aug 2014 15:40:55 +0000 (17:40 +0200)]
Revert "Bug 731013 - cross-compilation broken when building extract-strings"

This reverts commit 651d9e90e715ba0f4e246d03102cfb5353c19dc6.

The commit broke 'make dist' - the extract-strings sources are no
longer included in the tarball.

11 years agoUpdates for 3.13.7
Matthias Clasen [Fri, 15 Aug 2014 13:14:20 +0000 (09:14 -0400)]
Updates for 3.13.7

11 years agoGtkMenuItemAccessible: use "insert" signal
Ryan Lortie [Fri, 4 May 2012 00:12:32 +0000 (17:12 -0700)]
GtkMenuItemAccessible: use "insert" signal

Use the "insert" rather than the "add" signal to reliably detect
additions of menu items.

https://bugzilla.gnome.org/show_bug.cgi?id=372545

11 years agotreeview: Make multipress gesture accept all buttons
Carlos Garnacho [Tue, 12 Aug 2014 12:06:04 +0000 (14:06 +0200)]
treeview: Make multipress gesture accept all buttons

That gesture is meant to handle clicks on multiple buttons, so unset
the GDK_BUTTON_PRIMARY default. Also, remove unnecessary boilerplate
with the new GtkGestureSingle/GtkEventController defaults.

https://bugzilla.gnome.org/show_bug.cgi?id=734285

11 years agotextview: Make multipress gesture accept all buttons
Carlos Garnacho [Tue, 12 Aug 2014 12:04:35 +0000 (14:04 +0200)]
textview: Make multipress gesture accept all buttons

That gesture is meant to handle clicks on multiple buttons, so unset
the GDK_BUTTON_PRIMARY default. Also, remove unnecessary boilerplate
with the new GtkGestureSingle/GtkEventController defaults.

https://bugzilla.gnome.org/show_bug.cgi?id=734285

11 years agorange: Make multipress gesture accept all buttons
Carlos Garnacho [Tue, 12 Aug 2014 12:02:24 +0000 (14:02 +0200)]
range: Make multipress gesture accept all buttons

That gesture is meant to handle clicks from several buttons, so unset
the new GDK_BUTTON_PRIMARY default. Also, remove unnecessary boilerplate
with the new default values.

https://bugzilla.gnome.org/show_bug.cgi?id=734285

11 years agowindow: Set GtkGestureSingle::button to 0 on multipress gesture
Carlos Garnacho [Mon, 11 Aug 2014 19:57:04 +0000 (21:57 +0200)]
window: Set GtkGestureSingle::button to 0 on multipress gesture

This gesture handles events from multiple buttons, so ensure the
gesture still does so after the default value change.

https://bugzilla.gnome.org/show_bug.cgi?id=734285

11 years agoscrolledwindow: Make kinetic scrolling only work on touch devices
Carlos Garnacho [Mon, 11 Aug 2014 19:56:12 +0000 (21:56 +0200)]
scrolledwindow: Make kinetic scrolling only work on touch devices

This code was relying on the previous GtkGestureSingle::touch-only default
value, so restore the behavior back.

https://bugzilla.gnome.org/show_bug.cgi?id=734285

11 years agospinbutton: Make the swipe gesture only work on touch devices
Carlos Garnacho [Mon, 11 Aug 2014 19:54:39 +0000 (21:54 +0200)]
spinbutton: Make the swipe gesture only work on touch devices

This code was relying on the previous GtkGestureSingle::touch-only default
value.

https://bugzilla.gnome.org/show_bug.cgi?id=734285

11 years agolabel: Update to new GtkGestureSingle/GtkEventController defaults
Carlos Garnacho [Mon, 11 Aug 2014 19:52:59 +0000 (21:52 +0200)]
label: Update to new GtkGestureSingle/GtkEventController defaults

GtkGestureSingle::button is set to 0 on the multipress gesture, as several
buttons are managed by that gesture. Also avoid some extra lines of code
setting what nowadays are default values.

https://bugzilla.gnome.org/show_bug.cgi?id=734285

11 years agoentry: Update to new GtkGestureSingle/GtkEventController defaults
Carlos Garnacho [Mon, 11 Aug 2014 19:51:50 +0000 (21:51 +0200)]
entry: Update to new GtkGestureSingle/GtkEventController defaults

GtkGestureSingle::button is set to 0 on the drag/multipress gestures, as several
buttons are managed by these gestures. Also, avoid some extra lines of code
setting what nowadays are default values.

https://bugzilla.gnome.org/show_bug.cgi?id=734285

11 years agodnd: Set explicitly GtkGestureSingle::button to 0 on the drag gesture
Carlos Garnacho [Mon, 11 Aug 2014 19:50:15 +0000 (21:50 +0200)]
dnd: Set explicitly GtkGestureSingle::button to 0 on the drag gesture

This gesture handles drags done with any button, so unset the current button=1
default.

https://bugzilla.gnome.org/show_bug.cgi?id=734285

11 years agocolorswatch: Update to new GtkGestureSingle/GtkEventController defaults
Carlos Garnacho [Mon, 11 Aug 2014 19:48:43 +0000 (21:48 +0200)]
colorswatch: Update to new GtkGestureSingle/GtkEventController defaults

GtkGestureSingle::button is set to 0 on the multipress gesture, as several
buttons are managed by that gesture. Also avoid some extra lines of code
setting what nowadays are default values.

https://bugzilla.gnome.org/show_bug.cgi?id=734285

11 years agocolorplane: Update to new GtkGestureSingle/GtkEventController defaults
Carlos Garnacho [Mon, 11 Aug 2014 19:45:51 +0000 (21:45 +0200)]
colorplane: Update to new GtkGestureSingle/GtkEventController defaults

GtkGestureSingle::button is set to 0, as multiple buttons are managed by
the same gesture. Also avoid some extra lines of code setting what nowadays
are default values.

https://bugzilla.gnome.org/show_bug.cgi?id=734285